dojo.declare("MHomePg", wm.Page, {
    start: function() {

    },
    "preferredDevice": "phone",

    navButton1Click1: function(inSender) {

    },
    navButton2Click1: function(inSender) {
        if (app.vAccount) {
            //console.log(app.vAccount);
            if (app.vAccount.data.accountId) {
                // console.log(app.vAccount.data);
                // console.log(app.vAccount.data.accountId);
                wm.Page.getPage("MAccountPg").layer4.activate();

            } else {
                wm.Page.getPage("MAccountPg").layer1.activate();

            }


        }
    },
    _end: 0
});